package com.zzl.study.sharding.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author: zhangzl
 * @date: 2022/8/6 14:12
 * @version: 1.0
 * @description: 商品房实体对象
 */
@TableName("t_commercial_housing")
@Data
public class CommercialHousing {

    /**
     * 主键ID
     */
    @TableId("ID")
    private Long id;

    /**
     * 户主ID
     */
    @TableField("household_id")
    private Long householdId;

    /**
     * 房屋售价
     */
    @TableField("house_price")
    private BigDecimal housePrice;

    /**
     * 交付时间
     */
    @TableField("delivery_time")
    private Date deliveryTime;

}
